[BE] Add Parallel CI for Pip-Installed Triton and Update Docs#48
Closed
[BE] Add Parallel CI for Pip-Installed Triton and Update Docs#48
Conversation
Summary: - Updated the README.md to reflect the new prerequisite version for Triton (≥ 3.4.0) and simplified the installation instructions. - Added a new script (.ci/install-triton-pip.sh) to automate the installation of Triton from pip, including pre-flight checks and verification of the installation. - Modified the GitHub Actions workflow to include a new job for testing with Triton installed from pip, enhancing the CI process. These changes improve documentation clarity and streamline the setup process for users.
Contributor
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pre-built Triton has been upgraded to 3.4.0! So TritonParse can work out-of-box rather than compiling triton from source now!
This PR introduces parallel CI testing for Triton installed via pip and updates the documentation to recommend pip for standard installations, ensuring broader compatibility and easier setup for users.
Summary of Changes
CI/CD Workflow Enhancements
Added Parallel CI Job for Pip-Installed Triton:
.github/workflows/test.ymlhas been updated to include two parallel testing jobs:test-from-source: The existing job, which tests against the latest Triton commit compiled from source.test-from-pip: A new job that tests against the latest Triton version installed from PyPI.tritonparseremains compatible with both source-built and pip-installed Triton environments.New CI Script for Pip Installation:
.ci/install-triton-pip.sh, to handle the installation of Triton from PyPI in the newtest-from-pipCI job.Documentation Updates
README.mdto recommendpip install tritonas the standard installation method, removing the requirement to build from source.01.-Installation.mdand04.-Developer-Guide.md, to reflect that Triton should be installed via pip. Instructions for building from source have been replaced with the simpler pip command.These changes improve the project by simplifying the installation process for users and expanding CI coverage to validate compatibility with official Triton releases from PyPI.